package com.myapp.struts.modele;


import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author jackson
 */
public class Enseignant {

    private int nenseingant;
    private String nom;
    private String prenom;
    private String telephone;
    private String adresse;
    private Date naissance;
    private String email;
    private String password;
    private List<Matiere> matieres;
    private List<Promotion> promotions;

    public Enseignant() {
    }

    public Enseignant(int nenseingant, String nom, String prenom, String telephone, String adresse, Date naissance, String email, String password, List<Matiere> matieres, List<Promotion> promotions) {
        this.nenseingant = nenseingant;
        this.nom = nom;
        this.prenom = prenom;
        this.telephone = telephone;
        this.adresse = adresse;
        this.naissance = naissance;
        this.email = email;
        this.password = password;
        this.matieres = new ArrayList<Matiere>();
        this.promotions = new ArrayList<Promotion>();
    }

    public List<Promotion> getPromotions() {
        return promotions;
    }

    public void setPromotions(List<Promotion> promotions) {
        this.promotions = promotions;
    }

    public int getNenseingant() {
        return nenseingant;
    }

    public void setNenseingant(int nenseingant) {
        this.nenseingant = nenseingant;
    }

    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

    public String getPrenom() {
        return prenom;
    }

    public void setPrenom(String prenom) {
        this.prenom = prenom;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getAdresse() {
        return adresse;
    }

    public void setAdresse(String adresse) {
        this.adresse = adresse;
    }

    public Date getNaissance() {
        return naissance;
    }

    public void setNaissance(Date naissance) {
        this.naissance = naissance;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<Matiere> getMatieres() {
        return matieres;
    }

    public void setMatieres(List<Matiere> matieres) {
        this.matieres = matieres;
    }
    
    

}
